import apibase from "@/api/apiBase";
import axios from "axios";

//缓存类型列表
export const $cacheList = () => {
    const $server = new apibase();
    const instance = axios.create();
    return $server.get({
      url: '/female/cache/list',
      data: {},
      instance,
    });
  }
//一键清理数据缓存
export const $cacheClearData= () => {
    const $server = new apibase();
    const instance = axios.create();
    return $server.post({
      url: '/female/cache/clearData',
      data: {},
      instance,
    });
  }

//数据缓存标签列表
export const $cacheTaglist = () => {
    const $server = new apibase();
    const instance = axios.create();
    return $server.get({
      url: '/female/cache/tagList',
      data: {},
      instance,
    });
  }

//一键清理数据缓存
export const $cacheClear= (params:any) => {
    const $server = new apibase();
    const instance = axios.create();
    return $server.post({
      url: '/female/cache/clear',
      data: params,
      instance,
    });
  }








